import { defineAmisPlugin, getBaseFormItem, getInputTpl } from '../../base/util';
import component from './fc';
import type { IProps } from './interface';

export default defineAmisPlugin<IProps>(() => {
    return {
        component,
        options: getBaseFormItem({
            type: 'image', order: -6989, name: '图片', icon: 'FieldStringOutlined',xtype:'Image',
            tpls: [
                getInputTpl('value', { label: "src" }),
            ]
        })
    };
});
